<!-- start content--->
<div id="content"> 
      <!-- top-->
      <div class="top1">
            <div class="left"> </div>
            <div class="right"></div>
            <div class="center">
           <h1 class="heading"><?php echo $heading_title; ?></h1>
            </div>
      </div>
     <!-- conten info -->
      <div class="middle"> <!--start miiddlwe -->
             <div style="width: 100%; margin-bottom: 30px;"><!-- start group -->
                 <table style="width: 100%; border-collapse: collapse;">
                      <tr>
            			<td>
                       <h1 class="componentheading">  <?php echo $tinhoatdong['ten_tin_hoat_dong'];?> </h1>
                          <br />
            			 <?php echo $tinhoatdong['general'];?>
                         <br /> </br>
                         <?php echo $tinhoatdong['detail'];?>
            			</td>
                     </tr>
                </table> 
     </div> <!-- end content info -->
  <h1 class="relate">
    Thảo luận
    </h1>
     <div class="fb-comments" data-href="<?php echo $ref; ?>" data-width="690" data-num-posts="10"></div>
  <!-- tin lien quan -->
    <?php if($list_tinlienquan){?>
    <h1 class="relate">
    Các tin liên quan
    </h1>
     <ul>
     <?php foreach($list_tinlienquan as $tinlienquan) { ?>
     <li> <a href = "index.php?module=tinhoatdong&act=view&cm=<?php echo $tinlienquan['cat_id'] ?>&id=<?php echo $tinlienquan['tin_hoat_dong_id']; ?>"> <?php echo $tinlienquan['ten_tin_hoat_dong'];?></a> </li>
    <?php } ?>
    </ul>
   <?php } ?>
   <!-- tin hoat dong -->
   <?php if($list_tinhoatdong){?>
     <h1 class="relate">
    Các tin mới
    </h1>
      <ul>
      <?php foreach($list_tinhoatdong as $tinmoi) { ?>
      <li> <a href = "index.php?module=tinhoatdong&act=view&cm=<?php echo $tinmoi['cat_id'] ?>&id=<?php echo $tinmoi['tin_hoat_dong_id'];?>"> <?php echo $tinmoi['ten_tin_hoat_dong'];?></a> </li>
      <?php } ?>
      </ul>
   <?php } ?>

 
    </div> <!--end middle-->
      <div class="bottom"> <!-- bgin botom-->
          <div class="left"></div>
          <div class="right"></div>
          <div class="center"></div>
      </div><!-- end botom -->
</div><!-- end content -->
<script type="text/javascript"><!--
$.tabs('.tabs a'); 
//--></script>
